SELECT
<#switch (select__object__id!)>
	<#case "id">
T.ID AS id
	<#break>
	<#case "endDaTi">
T.END_DA_TI AS endDaTi
	<#break>
	<#case "idTrCo">
T.ID_TR_CO AS idTrCo
	<#break>
	<#case "nameTrCo">
T.NAME_TR_CO AS nameTrCo
	<#break>
	<#case "name">
T.NAME AS name
	<#break>
	<#case "codeTrCo">
T.CODE_TR_CO AS codeTrCo
	<#break>
	<#case "entityId">
T.ENTITY_ID AS entityId
	<#break>
	<#case "beginDaTi">
T.BEGIN_DA_TI AS beginDaTi
	<#break>
	<#case "code">
T.CODE AS code
	<#break>
	<#case "numberTrCo">
T.NUMBER_TR_CO AS numberTrCo
	<#break>
	<#default>
COUNT(1) AS COUNT_
</#switch>
FROM FD_DEPARTMENT_CU_IN_EF T
<#include "whereDepartmentCuInEfBy1.ftl">